package com.cykj.mapper;

import com.cykj.entity.CyGoodDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface GoodMapper {
    List<CyGoodDO> getAllGood();
    Integer updateGoodStock(@Param("count") Integer count,@Param("goodId") Integer goodId);
}
